<style type="text/css">
    .ui.container{width: 1300px;}
    .ui.table thead tr th, .ui.table tbody tr td{
        text-align:center;
    }
</style>
<!--内容区开始-->
<div class="cont">
    <div class="position "><img alt="位置图标" src="dist/images/position.png"/>营销管理&gt;报表统计</div>
    <div class="menus" style="margin-top:-5px;">
        <div class="menus_top">
            <div class="menus_l"><img alt="查看方式图标" src="dist/images/zt.png"/>查看方式</div>
            <ul id="nav" style="margin-top:8px;">
                <div class="field" style="display: inline-block;width: 10%;">
                    <div class="ui radio checkbox">
                        <input name="frequency1" ng-click="switchType(1)" type="radio" checked="checked">
                        <label>部门</label>
                    </div>
                </div>
                <div class="field" style="display: inline-block;width: 50%;">
                    <div class="ui radio checkbox">
                        <input name="frequency1" ng-click="switchType(2)" type="radio">
                        <label>个人</label>
                    </div>
                </div>
            </ul>
        </div>
        <div class="menus_con" style="margin-top:-15px;">
            <ul style="margin-left:-15px;">
                <li>
                    <label for="textfield" class="li_lable">统计日期</label>
                    <div class="ui left icon input">
                        <input id="begintime" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" placeholder="开始时间" value="">
                        <i class="calendar icon"></i>
                    </div>
                    <div class="ui left icon input" style="margin-left:15px;">
                        <input id="endtime" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" placeholder="结束时间" value="">
                        <i class="calendar icon"></i>
                    </div>
                </li>
                <a ng-click="search()">搜索</a>
            </ul>  
        </div>
        <div class="menus_con" style="margin-top:45px;">
            <h4>说明：单均产值=总业绩/分配资源；业绩单位：元</h4>
        </div>
        <div class="menus_table" style="margin-top:5px;">
            <table class="ui column table">
                <thead>
                    <tr>
                        <th id="sector_header">部门</th>
                        <th id="user_header">员工</th>
                        <th>分配资源</th>
                        <th>已建仓</th>
                        <th>未​建仓</th>
                        <th>止盈</th>
                        <th>成交</th>
                        <th>成交率</th>
                        <th>失联</th>
                        <th>投诉</th>
                        <th>新单数</th>
                        <th>新单业绩</th>
                        <th>续费业绩</th>
                        <th>退款</th>
                        <th>总资源</th>
                        <th>总业绩</th>
                        <th>单均产值</th>
                        <th>0-10W</th>
                        <th>10-50W</th>
                        <th>50-100W</th>
                        <th>>=100W</th>
                    </tr>
                </thead>
                <tbody id="y_analysis_list" class="parts_show">
                    <tr ng-repeat="vanalysis in analysis_list">
                        <td>{{vanalysis.nickname}}</td>
                        <td>{{vanalysis.resou_num}}</td>
                        <td>{{vanalysis.jiancang_ok}}</td>
                        <td>{{vanalysis.jiancang_no}}</td>
                        <td>{{vanalysis.zhiying}}</td>
                        <td>{{vanalysis.deal_mounts}}</td>
                        <td>{{vanalysis.dealret}}</td>
                        <td>{{vanalysis.shilian}}</td>
                        <td>{{vanalysis.complain_num}}</td>
                        <td>{{vanalysis.xindan}}</td>
                        <td>{{vanalysis.xindan_pay_total}}</td>
                        <td>{{vanalysis.xufei_pay_total}}</td>
                        <td>{{vanalysis.tuikuan_pay_total}}</td>
                        <td>{{vanalysis.resou_total}}</td>
                        <td>{{vanalysis.eval_mount_total}}</td>
                        <td>{{vanalysis.record_aver}}</td>
                        <td>{{vanalysis.customer_mount1_total}}</td>
                        <td>{{vanalysis.customer_mount2_total}}</td>
                        <td>{{vanalysis.customer_mount3_total}}</td>
                        <td>{{vanalysis.customer_mount4_total}}</td>
                    </tr>
                </tbody>
                <tbody id="w_analysis_list">
                    <tr ng-show="!busy">
                        <td colspan="20" style="text-align:center;margin-top:10px" class="null_data">没有找到数据~~~</td>
                    </tr>
                </tbody>
                <tfoot ng-if="analysislistpage.pageAll >1" id="analysis_listpage">
                    <tr>
                        <th colspan="20">
                            <div class="ui pagination menu" jspagination page-object="analysislistpage" page-func="getAnalysisList" ></div>
                        </th>
                    </tr>
                </tfoot>
            </table>
        </div>             
    </div>
</div>
<!--内容区结束-->